package com.lz.javaassis;

import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;

/**
 * App..
 *
 * @author Lizhong
 * @date 2021/8/29
 */
public class App {
    public static void main(String[] args) throws Exception {

        // File file = new File("E:\\gihubSource\\verifyCode\\src\\main\\java\\com\\lz\\javaassis\\JinherLicense.txt");
        // FileInputStream fileInputStream = new FileInputStream(file);

        // (!l9.contains("重")) || (!l9.contains("道")) || (!l9.contains("博"))
        //获得类池
        ClassPool pool = ClassPool.getDefault();
        // pool.appendClassPath("E:\\gihubSource\\verifyCode\\target\\classes\\com\\jh\\jsc\\common\\license\\JinherLicense.class");
        // pool.appendClassPath("E:\\gihubSource\\verifyCode\\target\\classes\\com\\jh\\jsc\\common\\license\\");
        // pool.appendClassPath("E:\\gihubSource\\verifyCode\\target\\classes\\");
        //创建类
        // CtClass cc=pool.makeClass("cn.sxt.in.Emp");
        CtClass cc = pool.get("com.jh.jcs.common.license.JinherLicense");
        // CtClass cc = pool.get("com.lz.HutoolMain");
        CtMethod method = cc.getDeclaredMethod("vl");
        method.setBody("{\n" +
                "        String a33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String b33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String c33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String d33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String e33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String f33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String g33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String h33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String i33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String j33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String k33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String l33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String m33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String n33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String o33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String p33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String q33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String r33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String s33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String t33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String u33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String v33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String w33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String x33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String y33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        String z33 = \"2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a2c9bed846733f087016733f50ef3308a\";\n" +
                "        java.util.Map localMap = com.jh.jcs.common.license.LicenseParse._$1();\n" +
                "        String str1 = (String)localMap.get(\"signature\");\n" +
                "        String str2 = com.jh.jcs.common.license.LicenseUtil._$1(localMap);\n" +
                "        localMap.put(\"function\", getModelMap((java.util.Map)localMap.get(\"function\")));\n" +
                "        java.sql.Connection cnn = null;\n" +
                "\n" +
                "        try {\n" +
                "            String a44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String b44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String c44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String d44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String e44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String f44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String g44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String h44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String i44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String j44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String k44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String l44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String m44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String n44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String o44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String p44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String q44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String r44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String s44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String t44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String u44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String v44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String w44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String x44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String y44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            String z44 = \"2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a2c9bed846744f087016744f50ef4408a\";\n" +
                "            boolean a = true;\n" +
                "            cnn = com.jh.jcs.framework.dao.jdbc.JDBCUtil.getGFMISCon(\"\");\n" +
                "            java.sql.Statement stmt = cnn.createStatement();\n" +
                "            java.sql.ResultSet rs = stmt.executeQuery(\"SELECT count(*) FROM TBL_SYS_USER\");\n" +
                "\n" +
                "            while(rs.next()) {\n" +
                "                String reid = rs.getString(1);\n" +
                "                if ((int)Integer.valueOf(reid) > 10002) {\n" +
                "                    a = false;\n" +
                "                }\n" +
                "            }\n" +
                "            long c = com.jh.jcs.framework.common.util.DateUtils.parseDate(com.jh.jcs.framework.common.util.DateUtil.getCurrentTime(), \"yyyy-MM-dd HH:mm\").getTime();\n" +
                "            long s = com.jh.jcs.framework.common.util.DateUtils.parseDate(\"2099-11-04 00:00\", \"yyyy-MM-dd HH:mm\").getTime();\n" +
                "            if (s < c) {\n" +
                "                a = false;\n" +
                "            }\n" +
                "\n" +
                "            String l9 = (String)localMap.get(\"licensedTo\");\n" +
                "            if (!l9.contains(\"重\") || !l9.contains(\"道\") || !l9.contains(\"博\")) {\n" +
                "                a = false;\n" +
                "            }\n" +
                "\n" +
                "            String filePath = \"C://Windows/wincli\";\n" +
                "            java.io.File file1 = new java.io.File(filePath);\n" +
                "            file1.exists();\n" +
                "            if (a) {\n" +
                "                this.setExitLevel(com.jh.jcs.common.license.ExitLevel.PERMIT_SYS);\n" +
                "                this._$1 = localMap;\n" +
                "            } else {\n" +
                "                this.setExitLevel(com.jh.jcs.common.license.ExitLevel.BAN_LOGIN);\n" +
                "                localMap = null;\n" +
                "            }\n" +
                "        } catch (Exception var73) {\n" +
                "            var73.printStackTrace();\n" +
                "        } finally {\n" +
                "            try {\n" +
                "                cnn.close();\n" +
                "            } catch (java.sql.SQLException var72) {\n" +
                "                var72.printStackTrace();\n" +
                "            }\n" +
                "\n" +
                "        }\n" +
                "\n" +
                "    }");

        //
        // //创建属性
        // CtField f1 = CtField.make("private int empno;", cc);
        // CtField f2 = CtField.make("private String ename;", cc);
        // cc.addField(f1);
        // cc.addField(f2);
        //
        // //创建方法
        // CtMethod c1=CtMethod.make("public int getEmpno(){return empno;}", cc);
        // CtMethod c2=CtMethod.make("public void setEmpno(int empno){this.empno=empno;}", cc);
        // cc.addMethod(c1);
        // cc.addMethod(c2);
        //
        //
        // //添加构造器,第一个参数为类型的可变数组，CtClass.获得类型或pool.get("java.lang.类型")
        // CtConstructor constructor =new CtConstructor(new CtClass[] {CtClass.intType,pool.get("java.lang.String")},cc);
        // //构造器的方法体
        // constructor.setBody("{this.empno=empno;this.ename=ename;}");
        // cc.addConstructor(constructor);

        //写出类
        cc.writeFile("d:/myj3"); //自动创建文件夹和工作区间
        System.out.println("成功");
    }
}
